package com.pojoin.cms.domain.alter;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.pojoin.cms.domain.Resource;
import com.pojoin.cms.domain.Role;
import com.pojoin.cms.domain.User;

public class RoleAlter implements Role {

	protected Integer deleted;
	protected String remark;
	protected Long roleId;
	protected String roleName;
	protected String roleTitle;
	protected Set<User> users = new HashSet<User>(0);
	protected Date createDate;
	protected Set<Resource> resources = new HashSet<Resource>(0);

	public void setResources(Set<Resource> resources) {
		this.resources = resources;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public void setRoleTitle(String roleTitle) {
		this.roleTitle = roleTitle;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

	@Override
	public Integer getDeleted() {
		return this.deleted;
	}

	@Override
	public String getRemark() {
		return this.remark;
	}

	@Override
	public Long getRoleId() {
		return this.roleId;
	}

	@Override
	public String getRoleName() {
		return this.roleName;
	}

	@Override
	public String getRoleTitle() {
		return this.roleTitle;
	}

	@Override
	public Set<User> getUsers() {
		return this.users;
	}

	@Override
	public Date getCreateDate() {
		return this.createDate;
	}

	@Override
	public Set<Resource> getResources() {
		return this.resources;
	}

}
